
import type { classInfoData } from "@/api/class/type";
import type { majorInfoData } from "@/api/major/type";
import type { roleInforDate } from "@/api/role/type";
import type { schoolInfoData } from "@/api/school/type";
import type { studentInfoData } from "@/api/student/type";
import type { userInfoData } from "@/api/user/type";

// 定义小仓库数据status类型
export interface UserState {
    token: string | null,
    user: userInfoData | null
    users:userInfoData[]
}
// 定于角色数据status类型
export interface RoleState{
    roles:roleInforDate[] |undefined
}
// 定义角色小仓库的status类型
export interface SchoolState{
    schools:schoolInfoData[]|undefined
}
// 定义专业小仓库的status类型
export interface MajorState{
    majors:majorInfoData[]|undefined
}
// 定义课程小仓库的status类型
export interface ClassState{
    classes:classInfoData[]|undefined
}
// 定义学生小仓库的status类型
export interface StudentState{
    students:studentInfoData[]|undefined
}

